package br.usp.ime.dojo.core.repositories.impl.db;

import javax.jdo.JDOHelper;
import javax.jdo.PersistenceManager;
import javax.jdo.PersistenceManagerFactory;

public class DojoPersistenceManagerFactory {

    private static final PersistenceManagerFactory pmfInstance =
        JDOHelper.getPersistenceManagerFactory("transactions-optional");

    private DojoPersistenceManagerFactory() {}

    public static PersistenceManager get() {
        return pmfInstance.getPersistenceManager();
    }
	
}
